<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="laydate/laydate.js"></script>
</head>
<body>
<input name="" type="text" value="" id="test5" />﻿​
<script>
//常用选择器
laydate.render({
	elem: '#test1'
});
//年选择器
laydate.render({
  elem: '#test2'
  ,type: 'year'
});
//年月选择器
laydate.render({
  elem: '#test3'
  ,type: 'month'
});
//时间选择器
laydate.render({
  elem: '#test4'
  ,type: 'time'
});
//时间选择器
laydate.render({
  elem: '#test5'
  ,type: 'datetime'
});
//日期范围
laydate.render({
  elem: '#test6'
  ,range: true
});
//年范围
laydate.render({
  elem: '#test7'
  ,type: 'year'
  ,range: true
});
//年月范围
laydate.render({
  elem: '#test8'
  ,type: 'month'
  ,range: true
});
//时间范围
laydate.render({
  elem: '#test9'
  ,type: 'time'
  ,range: true
});
//日期时间范围
laydate.render({
  elem: '#test10'
  ,type: 'datetime'
  ,range: true
}); 
</script>
</body>
</html>
	
</body>
</html>